<?php if (!defined('THINK_PATH')) exit(); if($tracklist == null): ?><h4 style="text-align:center"><span class="label label-primary">该客户暂无跟踪记录</span></h4>
<?php else: ?>
	<?php if(is_array($tracklist)): $i = 0; $__LIST__ = $tracklist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="panel panel-default">
			<div class="panel-heading">
			  <h4 class="panel-title">
				<a class="accordion-toggle" style="display:block;width:100%;text-decoration:none"><?php echo ($vo["name"]); ?><span class="pull-right">记录于:<i><?php echo ($vo["create_time"]); ?></i></span></a>
				
			  </h4>
			</div>
			<div id="collapse<?php echo ($vo["id"]); ?>" class="panel-collapse collapse in">
			  <div class="panel-body"><?php echo ($vo["track_content"]); ?></div>
			</div>
		</div><?php endforeach; endif; else: echo "" ;endif; endif; ?>